<template>
	<view>
		<view class="search-container iconfont icon-sousuo flex-all-centen">
			<view class="search-placeholder">{{placeholder}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"searchBtn",
		data() {
			return {
				
			};
		},
		props:{
			placeholder:{
				type:String,
				default:'输入搜索内容'
			}
		}
	}
</script>

<style lang="scss">
	.search-container{
		width: 600rpx;
		margin: 10rpx auto;
		background-color: #F2F2F2;
		height: 50rpx;
		border-radius: 10rpx;
		color: #888888;
		font-size: 40rpx;
		.search-placeholder{
			font-size: 20rpx;
		}
	}
</style>
